SERS="common BookInfo sentinel-dashboard gateway account order notice"

git pull
for s in ${SERS[@]}
do
	cd ${s}
	mvn clean package
	cd ..
	if [ "$s" == "common" ]
	then
		mvn install:install-file -DgroupId=top.stacktrace -DartifactId=common -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=common/target/common-1.0-SNAPSHOT.jar -DgeneratePom=true
	fi
done